from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.


#创建用户的数据库表
class User(AbstractUser):
    gender = models.CharField(max_length=10, verbose_name='用户性别')

    class Meta:
        verbose_name = '用户表'
        verbose_name_plural = verbose_name